package com.xydtech.ecard.merchant.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xydtech.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 电子名片新型农业主体信息对象 ecard_agriculture_info
 *
 * @author yuzhiguo
 * @date 2024-08-21 下午4:15
 */
public class EcardAgricultureInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 农业主体主键ID */
    private Long id;

    /** 网格区域 */
    @Excel(name = "网格区域", needMerge = true, width = 20)
    private String agrGridArea;

    /** 农业主体类型 */
    private Integer agrType;

    /** 农业主体类型 */
    @Excel(name = "农业主体类型", needMerge = true, width = 20)
    private String agrTypeName;

    /** 客户姓名 */
    @Excel(name = "客户姓名", needMerge = true, width = 20)
    private String agrCustName;

    /** 身份证号 */
    @Excel(name = "身份证号", needMerge = true, width = 20)
    private String agrCustIdcard;

    /** 身份证头像面 */
    private String agrIdcardHead;

    /** 身份证国徽面 */
    private String agrIdcardBadge;

    /** 联系方式 */
    @Excel(name = "联系方式", needMerge = true, width = 20)
    private String agrCustPhone;

    /** 是否户主：是-T否-F */
    @Excel(name = "是否户主", needMerge = true, width = 20)
    private String agrIsHouseholder;

    /** 婚姻状况 */
    @Excel(name = "婚姻状况", needMerge = true, width = 20)
    private String agrMaritalStatus;

    /** 居住状况 */
    @Excel(name = "居住状况", needMerge = true, width = 20)
    private String agrResidentialStatus;

    /** 居住住址 */
    @Excel(name = "居住住址", needMerge = true, width = 20)
    private String agrResidentialAddress;

    /** 营业执照图片 */
    private String agrLicensePic;

    /** 营业执照名称 */
    @Excel(name = "营业执照名称", needMerge = true, width = 20)
    private String agrLicenseName;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码", needMerge = true, width = 20)
    private String agrCreditCode;

    /** 经营者 */
    @Excel(name = "经营者", needMerge = true, width = 20)
    private String agrLegalPersonName;

    /** 成立日期 */
    @Excel(name = "成立日期", needMerge = true, width = 20)
    private String agrEstiblishTime;

    /** 资金数额 */
    @Excel(name = "资金数额", needMerge = true, width = 20)
    private String agrRegCapital;

    /** 经营状态 */
    @Excel(name = "经营状态", needMerge = true, width = 20)
    private String agrRegStatus;

    /** 联系方式 */
    @Excel(name = "联系方式", needMerge = true, width = 20)
    private String agrPhoneNumber;

    /** 经营项目 */
    @Excel(name = "经营项目", needMerge = true, width = 20)
    private String agrBusinessProject;

    /** 经营地址 */
    @Excel(name = "经营地址", needMerge = true, width = 20)
    private String agrBusinessAddress;

    /** 地图地址 */
    @Excel(name = "地图地址", needMerge = true, width = 20)
    private String agrMapAddress;

    /** 经营照片 */
    private String agrBusinessPic;

    /** 坐标 */
    @Excel(name = "坐标", needMerge = true, width = 20)
    private String agrCoordinate;

    /** 经营说明 */
    @Excel(name = "经营说明", needMerge = true, width = 20)
    private String agrBusinessRemark;

    /** 营销重点（多条记录逗号隔开） */
    @Excel(name = "营销重点", needMerge = true, width = 20)
    private String agrMarketingFocus;

    /** 业务标签（多条记录逗号隔开） */
    @Excel(name = "业务标签", needMerge = true, width = 20)
    private String agrBusinessLabel;

    /** 客户标签（多条记录逗号隔开） */
    @Excel(name = "客户标签", needMerge = true, width = 20)
    private String agrLabel;

    /** 客户层级 */
    @Excel(name = "客户层级", needMerge = true, width = 20)
    private String agrLevel;

    /** 创建人注册ID */
    private Long creatorId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, format = "yyyy-MM-dd HH:mm:ss", needMerge = true)
    private Date creationTime;

    /** 创建人机构id */
    private Long deptId;

    /** 管户人id */
    private Long managementPersonnelId;

    /** 状态0停用,1启用 */
    private Integer state;

    /** 状态 */
    @Excel(name = "状态", needMerge = true, width = 20)
    private String stateName;

    /** 客户经理 */
    @Excel(name = "客户经理", needMerge = true, width = 20)
    private String userName;

    /** 机构名称 */
    @Excel(name = "机构名称", needMerge = true, width = 20)
    private String deptName;

    /** 拜访结果 */
    @Excel(name = "拜访结果", needMerge = true, width = 20)
    private String visitSts;

    /** 天眼查结果 */
    @Excel(name = "天眼查结果", needMerge = true, width = 20)
    private String tycsts;

    /**
     * 是否释放
     */
    private String releaseSts;
    /**
     * 用户编号
     */
    private Long userId;

    /** 时间排序 */
    private String sortTime;

    /** 最近拜访时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "最近拜访时间", format = "yyyy-MM-dd HH:mm:ss", needMerge = true, width = 20)
    private Date maxbftime;
    /** 最大成员建档时间 */
    private Date maxcytime;

    /** 最近拜访照片 */
    private String maxvisitpic;

    /** 字典机构查询条件 */
    private Long dictDeptId;

    /**
     * 成员信息
     */
    @ExcelCollection(name = "成员信息")
    List<EcardMerchantPartInfo> merchantPartDetail;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAgrGridArea(String agrGridArea)
    {
        this.agrGridArea = agrGridArea;
    }

    public String getAgrGridArea()
    {
        return agrGridArea;
    }
    public void setAgrType(Integer agrType)
    {
        this.agrType = agrType;
    }

    public Integer getAgrType()
    {
        return agrType;
    }
    public void setAgrCustName(String agrCustName)
    {
        this.agrCustName = agrCustName;
    }

    public String getAgrCustName()
    {
        return agrCustName;
    }
    public void setAgrCustIdcard(String agrCustIdcard)
    {
        this.agrCustIdcard = agrCustIdcard;
    }

    public String getAgrCustIdcard()
    {
        return agrCustIdcard;
    }
    public void setAgrIdcardHead(String agrIdcardHead)
    {
        this.agrIdcardHead = agrIdcardHead;
    }

    public String getAgrIdcardHead()
    {
        return agrIdcardHead;
    }
    public void setAgrIdcardBadge(String agrIdcardBadge)
    {
        this.agrIdcardBadge = agrIdcardBadge;
    }

    public String getAgrIdcardBadge()
    {
        return agrIdcardBadge;
    }
    public void setAgrCustPhone(String agrCustPhone)
    {
        this.agrCustPhone = agrCustPhone;
    }

    public String getAgrCustPhone()
    {
        return agrCustPhone;
    }
    public void setAgrIsHouseholder(String agrIsHouseholder)
    {
        this.agrIsHouseholder = agrIsHouseholder;
    }

    public String getAgrIsHouseholder()
    {
        return agrIsHouseholder;
    }
    public void setAgrMaritalStatus(String agrMaritalStatus)
    {
        this.agrMaritalStatus = agrMaritalStatus;
    }

    public String getAgrMaritalStatus()
    {
        return agrMaritalStatus;
    }
    public void setAgrResidentialStatus(String agrResidentialStatus)
    {
        this.agrResidentialStatus = agrResidentialStatus;
    }

    public String getAgrResidentialStatus()
    {
        return agrResidentialStatus;
    }
    public void setAgrResidentialAddress(String agrResidentialAddress)
    {
        this.agrResidentialAddress = agrResidentialAddress;
    }

    public String getAgrResidentialAddress()
    {
        return agrResidentialAddress;
    }
    public void setAgrLicensePic(String agrLicensePic)
    {
        this.agrLicensePic = agrLicensePic;
    }

    public String getAgrLicensePic()
    {
        return agrLicensePic;
    }
    public void setAgrLicenseName(String agrLicenseName)
    {
        this.agrLicenseName = agrLicenseName;
    }

    public String getAgrLicenseName()
    {
        return agrLicenseName;
    }

    public String getAgrCreditCode() {
        return agrCreditCode;
    }

    public void setAgrCreditCode(String agrCreditCode) {
        this.agrCreditCode = agrCreditCode;
    }

    public String getAgrLegalPersonName() {
        return agrLegalPersonName;
    }

    public void setAgrLegalPersonName(String agrLegalPersonName) {
        this.agrLegalPersonName = agrLegalPersonName;
    }

    public String getAgrEstiblishTime() {
        return agrEstiblishTime;
    }

    public void setAgrEstiblishTime(String agrEstiblishTime) {
        this.agrEstiblishTime = agrEstiblishTime;
    }

    public String getAgrRegCapital() {
        return agrRegCapital;
    }

    public void setAgrRegCapital(String agrRegCapital) {
        this.agrRegCapital = agrRegCapital;
    }

    public String getAgrRegStatus() {
        return agrRegStatus;
    }

    public void setAgrRegStatus(String agrRegStatus) {
        this.agrRegStatus = agrRegStatus;
    }

    public String getAgrPhoneNumber() {
        return agrPhoneNumber;
    }

    public void setAgrPhoneNumber(String agrPhoneNumber) {
        this.agrPhoneNumber = agrPhoneNumber;
    }

    public void setAgrBusinessProject(String agrBusinessProject)
    {
        this.agrBusinessProject = agrBusinessProject;
    }

    public String getAgrBusinessProject()
    {
        return agrBusinessProject;
    }
    public void setAgrBusinessAddress(String agrBusinessAddress)
    {
        this.agrBusinessAddress = agrBusinessAddress;
    }

    public String getAgrBusinessAddress()
    {
        return agrBusinessAddress;
    }
    public void setAgrMapAddress(String agrMapAddress)
    {
        this.agrMapAddress = agrMapAddress;
    }

    public String getAgrMapAddress()
    {
        return agrMapAddress;
    }
    public void setAgrBusinessPic(String agrBusinessPic)
    {
        this.agrBusinessPic = agrBusinessPic;
    }

    public String getAgrBusinessPic()
    {
        return agrBusinessPic;
    }
    public void setAgrCoordinate(String agrCoordinate)
    {
        this.agrCoordinate = agrCoordinate;
    }

    public String getAgrCoordinate()
    {
        return agrCoordinate;
    }
    public void setAgrBusinessRemark(String agrBusinessRemark)
    {
        this.agrBusinessRemark = agrBusinessRemark;
    }

    public String getAgrBusinessRemark()
    {
        return agrBusinessRemark;
    }
    public void setAgrMarketingFocus(String agrMarketingFocus)
    {
        this.agrMarketingFocus = agrMarketingFocus;
    }

    public String getAgrMarketingFocus()
    {
        return agrMarketingFocus;
    }
    public void setAgrBusinessLabel(String agrBusinessLabel)
    {
        this.agrBusinessLabel = agrBusinessLabel;
    }

    public String getAgrBusinessLabel()
    {
        return agrBusinessLabel;
    }
    public void setAgrLabel(String agrLabel)
    {
        this.agrLabel = agrLabel;
    }

    public String getAgrLabel()
    {
        return agrLabel;
    }
    public void setAgrLevel(String agrLevel)
    {
        this.agrLevel = agrLevel;
    }

    public String getAgrLevel()
    {
        return agrLevel;
    }
    public void setCreatorId(Long creatorId)
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId()
    {
        return creatorId;
    }
    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setManagementPersonnelId(Long managementPersonnelId)
    {
        this.managementPersonnelId = managementPersonnelId;
    }

    public Long getManagementPersonnelId()
    {
        return managementPersonnelId;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public String getAgrTypeName() {
        return agrTypeName;
    }

    public void setAgrTypeName(String agrTypeName) {
        this.agrTypeName = agrTypeName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getVisitSts() {
        return visitSts;
    }

    public void setVisitSts(String visitSts) {
        this.visitSts = visitSts;
    }

    public String getTycsts() {
        return tycsts;
    }

    public void setTycsts(String tycsts) {
        this.tycsts = tycsts;
    }

    public String getReleaseSts() {
        return releaseSts;
    }

    public void setReleaseSts(String releaseSts) {
        this.releaseSts = releaseSts;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getSortTime() {
        return sortTime;
    }

    public void setSortTime(String sortTime) {
        this.sortTime = sortTime;
    }

    public Date getMaxbftime() {
        return maxbftime;
    }

    public void setMaxbftime(Date maxbftime) {
        this.maxbftime = maxbftime;
    }

    public Date getMaxcytime() {
        return maxcytime;
    }

    public void setMaxcytime(Date maxcytime) {
        this.maxcytime = maxcytime;
    }

    public String getMaxvisitpic() {
        return maxvisitpic;
    }

    public void setMaxvisitpic(String maxvisitpic) {
        this.maxvisitpic = maxvisitpic;
    }

    public List<EcardMerchantPartInfo> getMerchantPartDetail() {
        return merchantPartDetail;
    }

    public void setMerchantPartDetail(List<EcardMerchantPartInfo> merchantPartDetail) {
        this.merchantPartDetail = merchantPartDetail;
    }

    public Long getDictDeptId() {
        return dictDeptId;
    }

    public void setDictDeptId(Long dictDeptId) {
        this.dictDeptId = dictDeptId;
    }

    @Override
    public String toString() {
        return "EcardAgricultureInfo{" +
                "id=" + id +
                ", agrGridArea='" + agrGridArea + '\'' +
                ", agrType=" + agrType +
                ", agrTypeName='" + agrTypeName + '\'' +
                ", agrCustName='" + agrCustName + '\'' +
                ", agrCustIdcard='" + agrCustIdcard + '\'' +
                ", agrIdcardHead='" + agrIdcardHead + '\'' +
                ", agrIdcardBadge='" + agrIdcardBadge + '\'' +
                ", agrCustPhone='" + agrCustPhone + '\'' +
                ", agrIsHouseholder='" + agrIsHouseholder + '\'' +
                ", agrMaritalStatus='" + agrMaritalStatus + '\'' +
                ", agrResidentialStatus='" + agrResidentialStatus + '\'' +
                ", agrResidentialAddress='" + agrResidentialAddress + '\'' +
                ", agrLicensePic='" + agrLicensePic + '\'' +
                ", agrLicenseName='" + agrLicenseName + '\'' +
                ", agrCreditCode='" + agrCreditCode + '\'' +
                ", agrLegalPersonName='" + agrLegalPersonName + '\'' +
                ", agrEstiblishTime='" + agrEstiblishTime + '\'' +
                ", agrRegCapital='" + agrRegCapital + '\'' +
                ", agrRegStatus='" + agrRegStatus + '\'' +
                ", agrPhoneNumber='" + agrPhoneNumber + '\'' +
                ", agrBusinessProject='" + agrBusinessProject + '\'' +
                ", agrBusinessAddress='" + agrBusinessAddress + '\'' +
                ", agrMapAddress='" + agrMapAddress + '\'' +
                ", agrBusinessPic='" + agrBusinessPic + '\'' +
                ", agrCoordinate='" + agrCoordinate + '\'' +
                ", agrBusinessRemark='" + agrBusinessRemark + '\'' +
                ", agrMarketingFocus='" + agrMarketingFocus + '\'' +
                ", agrBusinessLabel='" + agrBusinessLabel + '\'' +
                ", agrLabel='" + agrLabel + '\'' +
                ", agrLevel='" + agrLevel + '\'' +
                ", creatorId=" + creatorId +
                ", creationTime=" + creationTime +
                ", deptId=" + deptId +
                ", managementPersonnelId=" + managementPersonnelId +
                ", state=" + state +
                ", stateName='" + stateName + '\'' +
                ", userName='" + userName + '\'' +
                ", deptName='" + deptName + '\'' +
                ", visitSts='" + visitSts + '\'' +
                ", tycsts='" + tycsts + '\'' +
                ", releaseSts='" + releaseSts + '\'' +
                ", userId=" + userId +
                ", sortTime='" + sortTime + '\'' +
                ", maxbftime=" + maxbftime +
                ", maxcytime=" + maxcytime +
                ", maxvisitpic='" + maxvisitpic + '\'' +
                ", dictDeptId=" + dictDeptId +
                ", merchantPartDetail=" + merchantPartDetail +
                '}';
    }
}
